package com.example.demo.model.entity;

import java.util.Date;

public class Activity {

    //活动id
    private Integer id;

    //活动名称
    private String name;

    //开始时间
    private Date startTime;

    //结束时间
    private Date endTime;

    //每名用户抽奖次数
    private Integer chance;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getChance() {
        return chance;
    }

    public void setChance(Integer chance) {
        this.chance = chance;
    }
}